<template>
  <div class="score">
    <div class="score-head">
      <p>测试结果</p>
    </div>
    <div class="score-result">
      <p class="res">得分：{{ score }}分</p>
      <p class="lang">你真是个小天才！</p>
    </div>
  </div>
</template>

<script setup>
import useQuestionStore from '../../store/question';
const qStore = useQuestionStore()
const score = qStore.getScore()


// 获取仓库中的问题数据
// 获取仓库中的用户答案
// 计算得分
</script>

<style lang="less" scoped>
.score{
  background-color: #f9fafbc9;
  height: 100vh;
  &-head{
    font-weight: 500;
    font-size: 1.6rem;
    background-color: #fff;
    color: black;
    display: flex;
    align-items: center;
    padding: 1.5rem;
  }
  &-result{
    margin: 3.5rem 1.4rem;
    justify-content: center;
    .res{
      font-size: 2.6rem;
      font-weight: 500;
      margin: 0 10.6rem;
    }
    .lang{
      color: #6B7280;
      font-size: 1.2rem;
      font-weight: 400;
      margin: 0.7rem 12.5rem;
    }
  }
}
</style>